package com.jumei.flume.parser;

public abstract class AbstractLogLineParser implements LogLineParser {
    private static final String[] testIps = {"127.0.0.1"};

    @Override
    public String[] getTestIps() {
        return testIps;
    }

    @Override
    public boolean isTestIp(String ip) {
        boolean retflag = false;
        for (String tIp : testIps) {
            if (ip.equals(tIp)) {
                retflag = true;
                break;
            }
        }
        return retflag;
    }
}
